﻿<%@ Page Language="C#" MasterPageFile="~/Masterpage.Master" AutoEventWireup="true" CodeBehind="MemberSelect.aspx.cs" Inherits="EmailMarketingCampaign.mailSelect" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
     <div class="content">
<div id="post-69" class="post">
 <span class="absolute box_2_t_l"></span> 
 <span class="absolute box_2_t_r"></span> 
 <span class="absolute box_2_b_l"></span>
  <span class="absolute box_2_b_r"></span>


<p class="a">Select Group </p>
 <div class="details">
    
        <table class="style1">
            <tr>
                <asp:SqlDataSource ID="group1" runat="server"  ConnectionString="<%$ ConnectionStrings:EmailMarketing_DBConnectionString%>"

    ProviderName="<%$ ConnectionStrings:EmailMarketing_DBConnectionString.ProviderName %>"

    SelectCommand="select * from group1 where COMUniquelID =?COMUniquelID"> 
    
  <SelectParameters> <asp:SessionParameter Name="COMUniquelID"  SessionField="COMUniquelID"  Type="String" />   </SelectParameters>
</asp:SqlDataSource>
    
      <asp:SqlDataSource ID="group2" runat="server"  ConnectionString="<%$ ConnectionStrings:EmailMarketing_DBConnectionString%>"

    ProviderName="<%$ ConnectionStrings:EmailMarketing_DBConnectionString.ProviderName %>"

    SelectCommand="select * from group2  where COMUniquelID =?COMUniquelID "> 
        <SelectParameters> <asp:SessionParameter Name="COMUniquelID"  SessionField="COMUniquelID"  Type="String" />   </SelectParameters>

    </asp:SqlDataSource>
    
      <asp:SqlDataSource ID="group3" runat="server"  ConnectionString="<%$ ConnectionStrings:EmailMarketing_DBConnectionString%>"

    ProviderName="<%$ ConnectionStrings:EmailMarketing_DBConnectionString.ProviderName %>"

    SelectCommand="select * from group3 where COMUniquelID =?COMUniquelID "> 
        <SelectParameters> <asp:SessionParameter Name="COMUniquelID"  SessionField="COMUniquelID"  Type="String" />   </SelectParameters>

    </asp:SqlDataSource>
    
            </tr>
            <tr>
                <td class="style5">
                    <asp:Label ID="Label1" runat="server" Text="Group1"></asp:Label>
                </td>
                <td class="style3">
                    <asp:DropDownList ID="drGroup1" runat="server" Width="100px" 
                        DataSourceID="group1" DataTextField="GroupName" DataValueField="Group1ID" 
                        Height="20px" onprerender="drGroup1_PreRender">
                    </asp:DropDownList>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    <asp:Label ID="Label2" runat="server" Text="Group2"></asp:Label>
                </td>
                <td class="style3">
                    <asp:DropDownList ID="drGroup2" runat="server" Width="100px" 
                        DataSourceID="group2" DataTextField="GroupName" DataValueField="Group2ID" 
                        Height="20px" onprerender="drGroup2_PreRender">
                    </asp:DropDownList>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    <asp:Label ID="Label3" runat="server" Text="Group3"></asp:Label>
                </td>
                <td class="style3">
                    <asp:DropDownList ID="drGroup3" runat="server" Width="100px" 
                        DataSourceID="group3" DataTextField="GroupName" DataValueField="Group3ID" 
                        Height="20px" onprerender="drGroup3_PreRender">
                    </asp:DropDownList>
                </td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    &nbsp;</td>
                <td class="style3">
                    &nbsp;</td>
                <td class="style6">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    &nbsp;</td>
                <td class="style3">
                  <asp:Button ID="btnSave" runat="server" Text="Save" onclick="btnSave_Click" 
                        Height="27px" Width="71px"  CssClass="button" />
                    </td>
                <td class="style6">
                    <asp:Button ID="Button1" runat="server" Height="27px" Text="Back" 
                        Width="71px"  CssClass="button" />
                  
                    <asp:Button ID="btnNext" runat="server" Text="Next" onclick="btnNext_Click" 
                        Height="27px" Width="71px"  CssClass="button"  />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
     </div>
      </div>
</asp:Content>
